package org.msn.mapper.database.impl;

import io.netty.channel.ChannelHandlerContext;
import lombok.extern.slf4j.Slf4j;
import org.msn.config.RoomInfo;
import org.msn.model.entity.UserEntity;
import org.msn.mapper.database.CreateDatabaseLink;
import org.msn.mapper.database.Repository;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;

@Slf4j
public class MemoryRepositoryImpl extends CreateDatabaseLink<Map<String, RoomInfo>> implements Repository {
    public MemoryRepositoryImpl(String type, Map<String, Object> info) {
        super(type, info);
    }

    @Override
    protected Map<String, RoomInfo> createDatabaseLink(Map<String, Object> info) {
        return null;
    }

    @Override
    public Object getSession() {
        return null;
    }
}
